import { ResponseData } from '@/API/user/type.js'
import { SkuData } from '../spu/type.js'

export interface getSkuResponseData extends ResponseData {
  data: Sku
}
export interface Sku {
  records: Record[]
  total: number
  size: number
  current: number
  orders: []
  optimizeCountSql: boolean
  hitCount: boolean
  countId: null
  maxLimit: null
  searchCount: boolean
  pages: number
}

export interface Record extends SkuData {}

export interface getSkuInfoResponseData extends ResponseData {
  data: SkuData
}
